#ifndef ARGVCHECK_H
#define ARGVCHECK_H

#include "Types.h"
#include "Types_Api.h"


#define CHECKARGV(x)  CheckArgv<typeof((x))>(x)

template<class X>
inline int CheckArgv(X argv)
{
  return 1;
}

template<class X>
inline handle* ReturnArgv(X argv)
{
  handle* ret;
  //todo:
  return ret;
}
int CheckAddressValid(void* address)
{//in case of invalid point consequent to the kernel panic or find page
  
}

struct HANDLE
{
  unsigned int typeID;
  unsigned int* object;
};



#endif
